package com.kehutong.auth.enums;

import org.coraframework.util.HashID;

/**
 * 账号状态
 * @author liuzhen
 *
 */
public enum AccountStatus implements HashID {

    UNABLE("0", "未激活"),
    ACTIVE("1", "正常"),
    DISABLE("2", "禁用"),
    CANCEL("3", "注销")
    ;


    private final String id;
    private final String desc ;

    private AccountStatus(String id, String desc) {
        this.id = id;
        this.desc = desc ;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
